//
//  LRXBlowFish.h
//  路人侠
//
//  Created by zhangxulong on 5/2/16.
//  Copyright © 2016 zhangxulong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonCryptor.h>
@interface LRXBlowFish : NSObject
+ (NSString *)enCodeBlowfishWithValue:(NSString *)string withKeyStr:(NSString *)keyStr;
+ (NSString *)decodeBlowCodeWithBase64Str:(NSString *)encryptedBase64String withKeyStr:(NSString *)keyStr;
+ (NSData *)doBlowfish:(NSData *)dataIn context:(CCOperation)kCCEncrypt_or_kCCDecrypt key:(NSData *)key options:(CCOptions)options iv:(NSData *)iv error:(NSError **)error;
@end
